import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Displayable;
import javax.microedition.midlet.MIDlet;

public class CMidlet
        extends MIDlet {
    private static CMidlet var_CMidlet_a;
    private a var_a_a;

    public CMidlet() {
        var_CMidlet_a = this;
    }

    protected void startApp() {
        if (this.var_a_a == null) {
            this.var_a_a = new a();
            new Thread(this.var_a_a).start();
        }
        Display.getDisplay((MIDlet)var_CMidlet_a).setCurrent((Displayable)this.var_a_a);
        this.var_a_a.showNotify();
    }

    protected void pauseApp() {
        this.var_a_a.hideNotify();
    }

    protected void destroyApp(boolean bl) {
    }

    public static void a() {
        var_CMidlet_a.destroyApp(true);
        var_CMidlet_a.notifyDestroyed();
        var_CMidlet_a = null;
    }
}

